const Hapi = require('hapi');


const route = require('./routes');

const server = Hapi.server({
    port: 80,
    host: '0.0.0.0'
});

route.forEach(api => {
    server.route(api);
});

module.exports = server;